package gameStates.gui;

import settings.GraphicSettings;
import gameStates.passes.AbsPassManagerState;
import interfaces.loading.GraphicChangeScreen;

public class GraphicChangeLoadingState extends LoadingState {
	
	protected GraphicSettings oldGraphics;
	
	public GraphicChangeLoadingState(AbsPassManagerState passManagerState, GraphicSettings oldGraphics) {
		super(passManagerState);
		this.oldGraphics = oldGraphics;
		
		init();
	}
	
	public GraphicSettings getOldGraphicSettings() { return oldGraphics; }
	
	private void init() {
		loadingScreen = new GraphicChangeScreen(this);
	}
}